package com.pcbly.web.persistence.dict;

import java.util.List;

import com.pcbly.web.bean.dict.DictCategoryBean;
import com.pcbly.web.bean.dict.DictCategoryFilterBean;
import com.pcbly.web.bean.dict.DictCategoryValueBean;
import com.pcbly.web.persistence.BaseDao;

public interface DictCategoryFilterDao extends BaseDao<DictCategoryFilterBean> {

	void removeDictCategoryFilterByDictId(String dictId) throws Exception;

	void removeDictCategoryFilterByDictValueId(String dictValueId)
			throws Exception;

	void removeDictCategoryFilterByDictValueIdAndDictId(String dictValueId,
			String dictId) throws Exception;

	List<DictCategoryBean> queryDictCategoryBeansByMasterId(String masterId)
			throws Exception;

	List<DictCategoryValueBean> queryDictCategoryValueBeansByMasterValueId(
			String masterValueId, String childId) throws Exception;

	List<DictCategoryValueBean> queryDictCategoryValueBeansByBean(
			DictCategoryFilterBean bean) throws Exception;
}
